package kitwee.com.kanpad.bean;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;


/**
 * Created by ganquan on 2019/4/2 20:28
 */
@Entity
public class SocketPortData  {
    @Id(autoincrement = true)
    private Long id;
    private String ParameterKey;
    private String ParameterValue;
    private String ParameterUnit;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public SocketPortData(String parameterKey, String parameterValue, String parameterUnit) {
        ParameterKey = parameterKey;
        ParameterValue = parameterValue;
        ParameterUnit = parameterUnit;
    }

    @Generated(hash = 710121885)
    public SocketPortData(Long id, String ParameterKey, String ParameterValue,
            String ParameterUnit) {
        this.id = id;
        this.ParameterKey = ParameterKey;
        this.ParameterValue = ParameterValue;
        this.ParameterUnit = ParameterUnit;
    }

    @Generated(hash = 1852236522)
    public SocketPortData() {
    }

    public String getParameterKey() {
        return ParameterKey;
    }

    public void setParameterKey(String parameterKey) {
        ParameterKey = parameterKey;
    }

    public String getParameterValue() {
        return ParameterValue;
    }

    public void setParameterValue(String parameterValue) {
        ParameterValue = parameterValue;
    }

    public String getParameterUnit() {
        return ParameterUnit;
    }

    public void setParameterUnit(String parameterUnit) {
        ParameterUnit = parameterUnit;
    }

    @Override
    public String toString() {
        return "SocketPortData{" +
                "id=" + id +
                ", ParameterKey='" + ParameterKey + '\'' +
                ", ParameterValue='" + ParameterValue + '\'' +
                ", ParameterUnit='" + ParameterUnit + '\'' +
                '}';
    }
}
